package com.group.activity.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.group.common.utils.PageUtils;
import com.group.common.utils.Query;

import com.group.activity.dao.WarehousingManagementDao;
import com.group.activity.entity.WarehousingManagementEntity;
import com.group.activity.service.WarehousingManagementService;


@Service("warehousingManagementService")
public class WarehousingManagementServiceImpl extends ServiceImpl<WarehousingManagementDao, WarehousingManagementEntity> implements WarehousingManagementService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<WarehousingManagementEntity> page = this.page(
                new Query<WarehousingManagementEntity>().getPage(params),
                new QueryWrapper<WarehousingManagementEntity>()
        );

        return new PageUtils(page);
    }

}